<form nz-form [formGroup]="formGroup" nzNoColon>
    <nz-form-item>
        <nz-form-label>标题名称</nz-form-label>
        <nz-form-control nzErrorTip="请输入标题名称">
            <input type="text" nz-input placeholder="请输入标题名称" formControlName="title">
        </nz-form-control>
    </nz-form-item>
    <div nz-row>
        <div nz-col>
            <nz-form-item>
                <nz-form-label>提醒时间</nz-form-label>
                <nz-form-control nzErrorTip="请选择开始时间">
                    <nz-time-picker nzFormat="HH:mm" formControlName="start" [nzAllowEmpty]="false"></nz-time-picker>
                </nz-form-control>
            </nz-form-item>
        </div>
        <span class="dash">一</span>
        <div nz-col>
            <nz-form-item>
                <nz-form-control nzErrorTip="请选择结束时间">
                    <nz-time-picker nzFormat="HH:mm" formControlName="end" [nzAllowEmpty]="false"></nz-time-picker>
                </nz-form-control>
            </nz-form-item>
        </div>
    </div>
    <nz-form-item>
        <nz-form-label>事项描述</nz-form-label>
        <nz-form-control>
            <textarea nz-input cols="30" rows="5" formControlName="content"></textarea>
        </nz-form-control>
    </nz-form-item>
</form>
<nz-divider></nz-divider>
<div class="btn-wrapper">
    <span class="date">{{currentDate | date: 'yyyy-MM-dd'}}</span>
    <button class="btn" nz-button (click)="cancel()">取消</button>
    <button class="btn" nz-button nzType="primary" (click)="confirm()">确定</button>
</div>